package com.study.service.HRservice;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.study.model.jdao.HRjdao.DeptDao;
import com.study.model.pojo.HRpojo.DeptTab;

@Service
public class DeptService {

	@Autowired
	DeptDao dptDao;
	
	/**
	 * 查询部门所有信息
	 * @return
	 */
	public List<DeptTab> findAll(){
		return (List<DeptTab>) dptDao.findAll();
	}
	
}
